﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using LowLevelGraphics;
using LowLevelGraphics.Filter;

namespace LowLevelGraphics.Filter
{
    /// <summary>
    /// Uses contrast Mask to enhance Gray contrast
    /// </summary>
    public class EnhanceGrayContrast : MacroFilter
    {
        /// <summary>
        /// 
        /// </summary>
        public EnhanceGrayContrast()
        {
            ContrastMask mask = new ContrastMask();
            mask.GrayMode = true;
            mask.GlobalContrastMode = true;
            this.FilterList.Add(mask);
            this.FilterList.Add(new Invert());
        }
    }
}
